package com.zhiyou100.service;

import org.springframework.stereotype.Service;

/**
 * @author yang
 * @className Test05Service
 * @packageName com.zhiyou100.service
 * @Description TODO 实现类
 * @date 2020-08-25 14:32
 */

@Service
public class Test05ServiceImpl implements Test05Service {
    @Override
    public boolean judgeTheName(String sname) {
        return "杨磊".equals(sname);
    }

    @Override
    public boolean judgeTheNameAndPwd(String sname, String spwd) {
        return "杨磊".equals(sname) && "123".equals(spwd);
    }
}
